#if !defined(_physicstest_boxentity_hpp)
#define _physicstest_boxentity_hpp

#include <ximera/physics/iworld.hpp>
#include <ximera/physics/ientity.hpp>
#include <ximera/graphics/iworld.hpp>
#include <ximera/graphics/ientity.hpp>
#include <ximera/graphics/iscenenode.hpp>

using namespace ximera;

class BoxEntity
{
public:
    BoxEntity(graphics::IWorld* graphics, physics::IWorld* physics);

    graphics::IEntity* entity() const { return _entity; }
    graphics::ISceneNode* node() const { return _node; }
    physics::IEntity* body() const { return _body; }

    void update();

private:
    graphics::IEntity* _entity;
    graphics::ISceneNode* _node;
    physics::IEntity* _body;
};

#endif